package com.sunday.pinxinghui.entity;

import java.math.BigDecimal;

/**
 * Created by 刘涛 on 2017/8/17
 * 首页秒杀产品
 */

public class IndexProduct {

    /**
     * productId : 7
     * productName : 菠萝梨
     * price : 28.8
     * costPrice : 28.8
     * image : http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/c2ee80252ba6f5ba4b49366be1f035a47b958401
     * store : 88
     * limitCount : 80
     * buyCount : 8
     * plusCount : 72
     * percent : 10%
     * plusPercent : 90%
     *  "timeId": 5,
     "type": null,
     */

    private long productId;
    private String productName;
    private BigDecimal price;
    private BigDecimal costPrice;
    private String image;
    private int store;
    private int limitCount;
    private int buyCount;
    private int plusCount;
    private String percent;
    private String plusPercent;
    private String summary;


    //限时购
    private int timeId;
    private Integer type;


    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }



    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    public int getLimitCount() {
        return limitCount;
    }

    public void setLimitCount(int limitCount) {
        this.limitCount = limitCount;
    }

    public int getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(int buyCount) {
        this.buyCount = buyCount;
    }

    public int getPlusCount() {
        return plusCount;
    }

    public void setPlusCount(int plusCount) {
        this.plusCount = plusCount;
    }

    public String getPercent() {
        return percent;
    }

    public void setPercent(String percent) {
        this.percent = percent;
    }

    public String getPlusPercent() {
        return plusPercent;
    }

    public void setPlusPercent(String plusPercent) {
        this.plusPercent = plusPercent;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public int getTimeId() {
        return timeId;
    }

    public void setTimeId(int timeId) {
        this.timeId = timeId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }
}
